package com.hs.hlw.credit.system.business.service;

import com.hs.hlw.credit.system.business.dto.ResponseDto;
import com.hs.hlw.credit.system.data.mybatis.Pageable;

import javax.servlet.http.HttpServletResponse;

/**
 * SubmissionBatchService
 * @author zhb
 * @date 2018/11/28
 */
public interface SubmissionBatchService {
    /**
     * 删除批次
     * @param id
     * @return
     */
    ResponseDto delete(Integer id);

    /**
     * 批次文件下载
     * @param id
     * @return
     */
    void downloadBatchFile(Integer id, HttpServletResponse response);

    /**
     * 分页查询报送批次
     * @param pageable
     * @return
     */
    ResponseDto page(Pageable pageable);
}